﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tradex.Market {

    /// <summary>
    /// This defines the different instrument types that Tradex can handle.
    /// </summary>
    public enum InstrumentType {

        /// <summary>
        /// The instrument is undefined. This should not happen for instruments.
        /// </summary>
        Undefined,

        /// <summary>
        /// The instrument is an equity (i.e. shares).
        /// </summary>
        Equity,

        /// <summary>
        /// The instrument is a futures contract.
        /// </summary>
        Future,

        /// <summary>
        /// The instrument is an option.
        /// </summary>
        Option,

        /// <summary>
        /// The instrument is a spread between two other instruments
        /// </summary>
        Spread,

        /// <summary>
        /// The instrument is a fixed income bond.
        /// </summary>
        Bond,

        /// <summary>
        /// The instrument type is undefined due to an error condition - possibly the provided
        /// information was not recognized by Tradex.
        /// </summary>
        Error

    }
}
